package com.ruoyi.userManage.mapper;

import java.util.List;
import com.ruoyi.userManage.domain.UserBlindBoxConsumeRecord;

/**
 * 盲盒消费记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-12
 */
public interface UserBlindBoxConsumeRecordMapper 
{
    /**
     * 查询盲盒消费记录
     * 
     * @param id 盲盒消费记录主键
     * @return 盲盒消费记录
     */
    public UserBlindBoxConsumeRecord selectUserBlindBoxConsumeRecordById(Long id);

    /**
     * 查询盲盒消费记录列表
     * 
     * @param userBlindBoxConsumeRecord 盲盒消费记录
     * @return 盲盒消费记录集合
     */
    public List<UserBlindBoxConsumeRecord> selectUserBlindBoxConsumeRecordList(UserBlindBoxConsumeRecord userBlindBoxConsumeRecord);

    /**
     * 新增盲盒消费记录
     * 
     * @param userBlindBoxConsumeRecord 盲盒消费记录
     * @return 结果
     */
    public int insertUserBlindBoxConsumeRecord(UserBlindBoxConsumeRecord userBlindBoxConsumeRecord);

    /**
     * 修改盲盒消费记录
     * 
     * @param userBlindBoxConsumeRecord 盲盒消费记录
     * @return 结果
     */
    public int updateUserBlindBoxConsumeRecord(UserBlindBoxConsumeRecord userBlindBoxConsumeRecord);

    /**
     * 删除盲盒消费记录
     * 
     * @param id 盲盒消费记录主键
     * @return 结果
     */
    public int deleteUserBlindBoxConsumeRecordById(Long id);

    /**
     * 批量删除盲盒消费记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUserBlindBoxConsumeRecordByIds(Long[] ids);
}
